Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@omerfsen
omerfsen / nvidia-smi-cheat-sheet.md
Created November 6, 2025 11:58
nvidia-smi cheat sheet

NVIDIA-SMI Comprehensive Cheat Sheet

Overview

nvidia-smi (NVIDIA System Management Interface) is a command-line tool that provides monitoring, management, and diagnostic information for NVIDIA GPU devices.

It communicates directly with the NVIDIA driver and GPU, and can:

  • Monitor GPU performance, temperature, and utilization
  • Manage power, clock speeds, and ECC
  • Control persistence mode and compute modes
@jameschapman2c
jameschapman2c / instagram-api-reference.md
Last active August 11, 2026 10:18
Instagram Official APIs — Comprehensive Reference (April 2026)

Instagram Official APIs — Comprehensive Reference

Last updated: April 2026. Based on Meta Graph API v25.0.


Executive Summary

What You Can Read (GET)

@Pythonation
Pythonation / prompt.md
Last active August 11, 2026 10:15
3 PROMPTS OF CODING AGENTS

1. برومبت التخطيط المطوّر (The Planning Protocol)

[الدور والمسؤولية] أنت الآن تعمل بصفة Staff Software Engineer ومدير تقني Tech Lead. مهمتك التخطيط المعماري الصارم للمشروع التالي: [أدخل وصف المشروع هنا]

[قواعد ما قبل التتخطيط] قبل البدء بالبروتوكولات، يجب أن تطبق مبدأ "Think Before Coding":

@cynthiateeters
cynthiateeters / unicorn-hook-reflection.md
Last active August 11, 2026 10:14
The no-cheating guardrail — a reflection on deterministic enforcement with eslint-plugin-unicorn and Claude Code hooks

The no-cheating guardrail — when your AI agent tries to silence the linter

The problem

When an AI coding agent like GitHub Copilot or Claude Code hits an ESLint error, it has two options: fix the code, or silence the linter. Fixing the code is harder. Silencing the linter is one comment.

AI agents will sometimes choose the easy path. They can insert any of these to make an error disappear:

// eslint-disable-next-line

Manage Multiple Claude Code Accounts

Run two Claude Code accounts simultaneously on macOS without re-authenticating by using separate configuration directories.

Steps

  1. Create Separate Config Directories
    mkdir ~/.claude-account1
    mkdir ~/.claude-account2
@notnotrobby
notnotrobby / cgp.md
Last active August 11, 2026 10:07
List of free resources to study computer graphics programming.
@HaleTom
HaleTom / aria2-trackers-update
Last active August 11, 2026 10:06
Update aria2.conf with 20 "best" BitTorrent trackers
#!/bin/bash
# Update the bt-tracker= line in aria2.conf
# Any bt-tracker= lines are removed and and a new one added at the bottom of the file
# Updates at: https://gist.github.com/HaleTom/fe873dc2f3c5bd14f7418efefc2b91a8
# Inspiration: https://github.com/wuyuansushen/aria2c_TrackersList
set -euo pipefail
shopt -s failglob